const state = {
	//当前登录的token
	token: '',
}

const mutations = {
	// 更新token值
	updateToken(state, token) {
		state.token = token;
	},
	//清除token
	clearToken(state) {
		state.token = '';
	},

}

const actions = {

}



export default {
	state,
	actions,
	mutations
}
